package be.jhd.appserver.weblogic.management.command;

import be.jhd.appserver.AbstractCommand;
import be.jhd.appserver.weblogic.command.WeblogicConfig;

public abstract class ManagementCommand extends AbstractCommand {

	@Override
	protected final void addParameters(WeblogicConfig config) {
		add("adminurl", config.getAdminUrl());
		add("username", config.getUser());
		add("password", config.getPassword());
		_addParameters(config);
	}
	
	protected abstract void _addParameters(WeblogicConfig config);

}
